package com.guang.springbootjacson.controller;

import com.guang.springbootjacson.bean.FirstExportOneVo;
import com.guang.springbootjacson.bean.FirstExportTwoVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * 为null的值在页面上不显示，不为null的才显示
 *    default-property-inclusion: non_null
 * @author liguang
 * @date 2022/6/1 16:38
 */
@RestController
public class TestTwoExportVoController {

    @RequestMapping(path = "six")
    public FirstExportTwoVo getTestOneBean(){
        FirstExportTwoVo firstExportOneVo = new FirstExportTwoVo();
        firstExportOneVo.setMoney(123D);
        firstExportOneVo.setResName("lig");
        firstExportOneVo.setCheckStatus(666);
        return firstExportOneVo;
    }
}
